package com.yingsheng.bi.hks.dto.job;

import com.yingsheng.bi.hks.dto.HksTransReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 政企服务工单填写
 */
@ApiModel(value = "政企服务工单填写请求体")
@EqualsAndHashCode(callSuper = true)
@Data
public class BusinessAndGovernmentServicesAddReq extends HksTransReq {

    //主表
    @ApiModelProperty(value = "联系人",required = true)
    @NotBlank
    private String name;

    @ApiModelProperty(value = "联系方式",required = true)
    @NotBlank
    private String phone;

    @ApiModelProperty(value = "公司名称",required = true)
    @NotBlank
    private String companyName;

    @ApiModelProperty(value = "门店ID")
    private String storesId;


    //子表
    @ApiModelProperty(value = "服务类型",required = true)
    @NotBlank
    private String serviceType;

    @ApiModelProperty(value = "服务期限",required = true)
    @NotBlank
    private String serviceTimeLimit;

    @ApiModelProperty(value = "场所面积",required = true)
    @NotBlank
    private String companyArea;

    @ApiModelProperty(value = "服务地址",required = true)
    @NotBlank
    private String workPlaceParticular;

    @ApiModelProperty(value = "备案")
    private String remark;
}
